﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Week3_1_Entity.Enum;

namespace Week3_1_Entity.DTO
{
    public class OrderDTO
    {
        public int Oid { get; set; }//订单ID
        public string? OCode { get; set; }//订单编码
        public decimal OsumPrice { get; set; }//总价格
        public OrderState OrderState { get; set; }//订单状态
        public PayType PayType { get; set; }//订单支付方式
        public string? Aname { get; set; }//收货人
        public string? Adder { get; set; }//收货人地址
        public string? Aphone { get; set; }//收货人电话
        public int Uid { get; set; }//用户ID
        public DateTime ODate { get; set; }//下单时间
        public bool IsDel { get; set; }//逻辑删除
        public List<OrderGoodsDTO> Lists { get; set; }
    }
}
